package com.founder.gateway.orm.fzapi.bean.entity;
import javax.persistence.*;
import com.founder.gateway.orm.fzapi.bean.mapper.AppInfoMapper;
import com.founder.gateway.system.bean.DbConnStructure;
import com.founder.gateway.orm.fzapi.bean.dto.AppInfoDto;
import org.setu.framework.bean.EntityBean;
import org.setu.framework.jdbc.annotation.TableInfo;
import org.setu.framework.annotation.description.SetuDescription;
/**
 * 
 * @author: hfl 
 */

@Entity
@Table(name="app_info")
@TableInfo(dbConn=DbConnStructure.DC$GATEWAY,dbName=DbConnStructure.fz_api)
public class AppInfoEntity extends EntityBean<AppInfoEntity,AppInfoDto,AppInfoMapper>{

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO,generator="UUIDGenerator")
	@Column(name="id",length=100,nullable=false,columnDefinition="varchar")
	@SetuDescription(describe="")
	private String id;

	@Column(name="appName",length=30,nullable=false,columnDefinition="varchar")
	@SetuDescription(describe="应用名")
	private String appName;

	@Column(name="appIntro",length=100,columnDefinition="varchar")
	@SetuDescription(describe="应用简介")
	private String appIntro;

	@Column(name="appSecrect",length=200,nullable=false,columnDefinition="varchar")
	@SetuDescription(describe="应用密钥")
	private String appSecrect;

	@Column(name="appKey",length=50,nullable=false,columnDefinition="varchar")
	@SetuDescription(describe="应用Key")
	private String appKey;

	@Column(name="tokenExpiration",length=11,nullable=false,columnDefinition="int")
	@SetuDescription(describe="token过期时间（秒）")
	private String tokenExpiration;

	@Column(name="companyName",length=30,columnDefinition="varchar")
	@SetuDescription(describe="单位名称")
	private String companyName;

	@Column(name="contactNumber",length=20,columnDefinition="varchar")
	@SetuDescription(describe="联系电话")
	private String contactNumber;

	@Column(name="contacts",length=30,columnDefinition="varchar")
	@SetuDescription(describe="联系人")
	private String contacts;

	@Temporal(TemporalType.DATE)
	@Column(name="addDate",length=0,columnDefinition="date")
	@SetuDescription(describe="生效开始日期")
	private String addDate;

	@Temporal(TemporalType.DATE)
	@Column(name="endDate",length=0,columnDefinition="date")
	@SetuDescription(describe="生效结束日期")
	private String endDate;

	@Temporal(TemporalType.DATE)
	@Column(name="xtLrsj",length=0,columnDefinition="date")
	@SetuDescription(describe="录入时间")
	private String xtLrsj;

	@Column(name="xtLrrxm",length=50,columnDefinition="varchar")
	@SetuDescription(describe="录入人姓名")
	private String xtLrrxm;

	@Column(name="xtLrrid",length=32,columnDefinition="varchar")
	@SetuDescription(describe="录入人ID")
	private String xtLrrid;

	@Column(name="xtLrip",length=15,columnDefinition="varchar")
	@SetuDescription(describe="录入IP")
	private String xtLrip;

	@Temporal(TemporalType.DATE)
	@Column(name="xtZhxgsj",length=0,columnDefinition="date")
	@SetuDescription(describe="最后修改时间")
	private String xtZhxgsj;

	@Column(name="xtZhxgrxm",length=50,columnDefinition="varchar")
	@SetuDescription(describe="最后修改人姓名")
	private String xtZhxgrxm;

	@Column(name="xtZhxgrid",length=32,columnDefinition="varchar")
	@SetuDescription(describe="最后修改人ID")
	private String xtZhxgrid;

	@Column(name="xtZhxgip",length=15,columnDefinition="varchar")
	@SetuDescription(describe="最后修改IP")
	private String xtZhxgip;

	@Column(name="xtZxbz",length=1,columnDefinition="tinyint")
	@SetuDescription(describe="注销标志")
	private String xtZxbz;

	@Column(name="xtZxyy",length=50,columnDefinition="varchar")
	@SetuDescription(describe="注销原因")
	private String xtZxyy;

	public AppInfoEntity(){
	}

	public void setId(String id){
		this.id=id;
	}

	public String getId(){
		return this.id;
	}

	public void setAppName(String appName){
		this.appName=appName;
	}

	public String getAppName(){
		return this.appName;
	}

	public void setAppIntro(String appIntro){
		this.appIntro=appIntro;
	}

	public String getAppIntro(){
		return this.appIntro;
	}

	public void setAppSecrect(String appSecrect){
		this.appSecrect=appSecrect;
	}

	public String getAppSecrect(){
		return this.appSecrect;
	}

	public void setAppKey(String appKey){
		this.appKey=appKey;
	}

	public String getAppKey(){
		return this.appKey;
	}

	public void setTokenExpiration(String tokenExpiration){
		this.tokenExpiration=tokenExpiration;
	}

	public String getTokenExpiration(){
		return this.tokenExpiration;
	}

	public void setCompanyName(String companyName){
		this.companyName=companyName;
	}

	public String getCompanyName(){
		return this.companyName;
	}

	public void setContactNumber(String contactNumber){
		this.contactNumber=contactNumber;
	}

	public String getContactNumber(){
		return this.contactNumber;
	}

	public void setContacts(String contacts){
		this.contacts=contacts;
	}

	public String getContacts(){
		return this.contacts;
	}

	public void setAddDate(String addDate){
		this.addDate=addDate;
	}

	public String getAddDate(){
		return this.addDate;
	}

	public void setEndDate(String endDate){
		this.endDate=endDate;
	}

	public String getEndDate(){
		return this.endDate;
	}

	public void setXtLrsj(String xtLrsj){
		this.xtLrsj=xtLrsj;
	}

	public String getXtLrsj(){
		return this.xtLrsj;
	}

	public void setXtLrrxm(String xtLrrxm){
		this.xtLrrxm=xtLrrxm;
	}

	public String getXtLrrxm(){
		return this.xtLrrxm;
	}

	public void setXtLrrid(String xtLrrid){
		this.xtLrrid=xtLrrid;
	}

	public String getXtLrrid(){
		return this.xtLrrid;
	}

	public void setXtLrip(String xtLrip){
		this.xtLrip=xtLrip;
	}

	public String getXtLrip(){
		return this.xtLrip;
	}

	public void setXtZhxgsj(String xtZhxgsj){
		this.xtZhxgsj=xtZhxgsj;
	}

	public String getXtZhxgsj(){
		return this.xtZhxgsj;
	}

	public void setXtZhxgrxm(String xtZhxgrxm){
		this.xtZhxgrxm=xtZhxgrxm;
	}

	public String getXtZhxgrxm(){
		return this.xtZhxgrxm;
	}

	public void setXtZhxgrid(String xtZhxgrid){
		this.xtZhxgrid=xtZhxgrid;
	}

	public String getXtZhxgrid(){
		return this.xtZhxgrid;
	}

	public void setXtZhxgip(String xtZhxgip){
		this.xtZhxgip=xtZhxgip;
	}

	public String getXtZhxgip(){
		return this.xtZhxgip;
	}

	public void setXtZxbz(String xtZxbz){
		this.xtZxbz=xtZxbz;
	}

	public String getXtZxbz(){
		return this.xtZxbz;
	}

	public void setXtZxyy(String xtZxyy){
		this.xtZxyy=xtZxyy;
	}

	public String getXtZxyy(){
		return this.xtZxyy;
	}

}
